<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>分销设置</title>
    {template 'stourtravel/public/public_js'}
    {php echo Common::getCss('style.css,base.css,base_new.css'); }
    {php echo Common::getScript('config.js,ajaxform.js');}
    {php echo Common::getScript("uploadify/jquery.uploadify.min.js"); }
    {php echo Common::getCss('uploadify.css','js/uploadify/'); }
    <style>
       .ratio-sp{
           float:left;
           line-height: 24px;
           margin-left:3px;
       }
       .hint-sp{
           float:left;
           margin-left:15px;
           line-height: 24px;
           height:24px;
           color:#acacac;
       }
       .ver-item{
           float:left;
           margin-right: 10px;
       }
       .wx-tit{
           width:80px;
           text-align: right;
       }
    </style>
</head>

<body>
	<table class="content-tab">
    <tr>
    <td width="119px" class="content-lt-td"  valign="top">
     {template 'stourtravel/public/leftnav'}
    <!--右侧内容区-->
    </td>
     <td valign="top" class="content-rt-td">
        <!--面包屑-->
         <form method="post" name="product_frm" id="product_frm">
             <div class="manage-nr">
             	<div class="cfg-header-bar">
             		<a href="javascript:;" class="fr btn btn-primary radius mt-6 mr-10" onclick="window.location.reload()">刷新</a>
             	</div>
                
                 <!--基础信息开始-->
                 <div class="product-add-div">
                 	<ul class="info-item-block">
                        <li>
                            <span class="item-hd" style="width:125px;">成为分销商说明{Common::get_help_icon('cfg_fenxiao_guide')}：</span>
                            <div class="item-bd" style="padding-left:125px">
                                {Common::getEditor('cfg_fenxiao_guide',$info['cfg_fenxiao_guide'],700,600)}
                            </div>
                        </li>
                        <li class="line mt-10"></li>
                 		<li>
                 			<span class="item-hd">分销商介绍：{Common::get_help_icon('fenxiao_jieshao')}</span>
                 			<div class="item-bd">
                 				{Common::getEditor('cfg_fenxiao_content',$info['cfg_fenxiao_content'],700,300)}
                 			</div>
                 		</li>
                 	</ul>
                    
                 </div>
                <div class="clear clearfix pt-20 pb-20">
                    <a class="btn btn-primary radius size-L ml-115" id="btn_save" href="javascript:;">保存</a>
                </div>
                
             </div>
         </form>
  </td>
  </tr>
  </table>


  
  
	<script>

	$(document).ready(function(){

        //配置信息保存
        $("#btn_save").click(function(){
            $.ajaxform({
                url   :  SITEURL+"fenxiao/admin/config/ajax_config_save",
                method  :  "POST",
                isUpload :  true,
                form  : "#product_frm",
                dataType: "JSON",
                success  :  function(data, opts)
                {
                    if(data.status)
                    {
                        ST.Util.showMsg('保存成功!','4',2000);
                    }
                    else
                    {
                        ST.Util.showMsg(data.msg,'5',2000);
                    }
                }
            });
        })
     });
    </script>

</body>
</html>
